<?php
//登录
class login{
	public string $user;
	public string $psw;
	public int $group_id;
	public int $versioncode;
}

class login_rsp extends rspbase{
	
}

//重连
class reconnect{
    public string $user;
    public string $psw;
    public string $group_id;
}

class reconnect_rsp extends rspbase{
	
}

//非协议：数据结构
class member_info{
    public string $uid;
    public string $name;
    public int $card_type;
    public int $support_type;
}

//非协议：数据结构
class simplemember_info{
    public string $uid;
    public int $support_type;
}

//非协议：数据结构
class splmember_info{
    public string $uid;
    public int $card_type;
    public int $support_type;
}

//创建房间
class createroom{

}

class createroom_rsp extends rspbase
{
	public string $group_id;
    public array $member_infos;
}

//进入房间
class enterroom{
    public string $group_id;
}

class enterroom_rsp extends rspbase
{
	public string $group_id;
    public array $member_infos;
}

//发牌
class dealcard{

}
class dealcard_rsp extends rspbase
{

}

//退出房间
class exitroom{

}
class exitroom_rsp extends rspbase
{

}

//选票
class vote{
    public int $support_type;
}
class vote_rsp extends rspbase
{

}

//校验投票，决定能不能开车（做任务）
class examtrain{
    public int $type;//1一个否决不能开车，2个否决不能开车
}
class examtrain_rsp extends rspbase
{

}

//清除所有投票
class voteclear{

}

class voteclear_rsp extends rspbase
{

}

//聊天
class chat{
    public string $msg;
}

class chat_rsp extends rspbase{

}